const Mock=require("mockjs")

Mock.mock("http://localhost:8094/user/login",(request,response)=>{
	return {
		state:true,
		user:{
			uid: 100001,				
			username: "admin",
			password: "123456",
			sex:"男",
			realName: "戴瑞",
			birthDay: "1983-05-04T16:00:00.000+0000",
			registerDate: "2020-03-29T07:04:02.000+0000",
			address:"上海市胜利路836弄16幢502D",
			token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmciOiLku4rml6XlpLTmnaEiLCJuYW1lIjoiRnJlZeeggeWGnCIsImV4cCI6MTUxNDM1NjEwMywiaWF0IjoxNTE0MzU2MDQzLCJhZ2UiOiIyOCJ9.49UF72vSkj-sA4aHHiYN5eoZ9Nb4w5Vb45PsLF7x_NY",
			avator:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fhbimg.b0.upaiyun.com%2F46d99327c21ca546445dc5beaf4c5709b458ff5b441b0-JpUS47_fw658&refer=http%3A%2F%2Fhbimg.b0.upaiyun.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1627911912&t=d3d57d1f2d8ddb2589f1cbc7af16a0b2"
		}
	}
})
